package patterns.flyWeight.main;

import java.sql.Connection;
import java.sql.SQLException;

import patterns.flyWeight.core.ConnectionPool;

public class Test {
	public static void main(String[] args) {
		ConnectionPool pool = ConnectionPool.getConnectionPool();
		Connection conn = pool.getConnection();
		try {
			conn.commit();
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}
}
